import React, {Component} from 'react'
import ModifyArticleList from "../../../../components/ArticleManageComponent/ModifyArticleList";
import ArticleType from "../../../../types/ArticleType";
import {Route, Switch} from 'react-router';
import SpecificModifyArticle from '../../../../components/ArticleManageComponent/SpecificModifyArticle';

export default class ModifyReviewArticle extends Component {
    render() {
        return (
            <Switch>
                <Route path='/personal/modifyReviewArticle' exact={true} render={() => (<ModifyArticleList articleType={ArticleType.EVALUATION} />)} />
                <Route path='/personal/modifyReviewArticle/:id' component={SpecificModifyArticle} />
            </Switch>
        )
    }
}
